#ifndef THREADS_SEMAPHORES_H_
#define THREADS_SEMAPHORES_H_

#include <limits.h>
#include <pthread.h>
#include <stdio.h>
#include <bits/local_lim.h>

#define unKB 1024*1024

int crearAtributoTamanio(pthread_attr_t*);
int crearThread(pthread_t*,pthread_attr_t);
void* funcionThread(void*);
int ponerEnEspera(pthread_t);
void cerrarThread(pthread_t*);

#endif
